package com.gome.axwl.aoc.dao;


import com.gome.axwl.aoc.entity.po.DriverIntegrationParamPo;
import com.gome.axwl.aoc.entity.po.DriverIntegrationPo;
import com.gome.framework.dao.BaseDao;

import java.util.List;

/**
 * @Description: 司机积分dao
 * @Auther: yinyuxin
 * @Date: 2018年4月27日16:00:31
 */
public interface DriverIntegrationDao extends BaseDao {
    int deleteByPrimaryKey(Integer id);

    int insert(DriverIntegrationPo record);

    int insertSelective(DriverIntegrationPo record);

    DriverIntegrationPo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DriverIntegrationPo record);

    int updateByPrimaryKey(DriverIntegrationPo record);

    /**
     * 按条件查询记录列表,根据指定字段排序
     * @param driverIntegrationParamPo
     * @return
     */
    List<DriverIntegrationPo> queryList(DriverIntegrationParamPo driverIntegrationParamPo);

    /**
     * 批量新增
     * @param driverIntegrationPos
     * @return
     */
    int batchInsert(List<DriverIntegrationPo> driverIntegrationPos);

    /**
     * 批量修改
     * @param driverIntegrationPos
     * @return
     */
    int batchUpdate(List<DriverIntegrationPo> driverIntegrationPos);
}